<?php

class Test extends CI_Controller {
	
	public function index() {
		$this->load->model('api/Order_model', 'orders');
		$this->orders->addressValid('1', '8');
	}
	public function fileMd5() {
		if(!empty($_FILES)) {
			foreach ($_FILES as $k=>$v) {
				$md5 = md5_file($v['tmp_name']);
				$data['resultCode'] = '11100';
				$data['md5'] = $md5;
				die(json_encode($data));				
			}
		}
	}
}

